package com.lonefennec.chameleon.ui;

import com.badlogic.gdx.math.Vector2;
import com.lonefennec.chameleon.ChameleonGame;

public class JumpButton extends TouchButton
{
	public JumpButton(String texPath, Vector2 posRelToScreen, float sizeRelToHeight)
	{
		super(texPath, posRelToScreen, sizeRelToHeight);
	}

	@Override
	protected void onPressDown()
	{
		ChameleonGame.buttonInput.setJump(true);
	}

	@Override
	protected void onPressUp()
	{
		ChameleonGame.buttonInput.setJump(false);
	}
}
